<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-studentname" class="control-label col-xs-12 col-sm-2">{:__('Studentname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-studentname" data-rule="required" class="form-control" name="row[studentname]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-courseid" class="control-label col-xs-12 col-sm-2">{:__('Courseid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-courseid" class="form-control" name="row[courseid]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label for="c-description" class="control-label col-xs-12 col-sm-2">{:__('Description')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-description" data-rule="required" class="form-control" name="row[description]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-starttime" class="control-label col-xs-12 col-sm-2">{:__('Starttime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-starttime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[starttime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-endtime" class="control-label col-xs-12 col-sm-2">{:__('Endtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-endtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[endtime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-classcount" class="control-label col-xs-12 col-sm-2">{:__('Classcount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-classcount" class="form-control" name="row[classcount]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label for="c-classprice" class="control-label col-xs-12 col-sm-2">{:__('Classprice')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-classprice" class="form-control" step="0.01" name="row[classprice]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label for="c-totalamount" class="control-label col-xs-12 col-sm-2">{:__('Totalamount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-totalamount" class="form-control" step="0.01" name="row[totalamount]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label for="c-paymount" class="control-label col-xs-12 col-sm-2">{:__('Paymount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-paymount" class="form-control" step="0.01" name="row[paymount]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label for="c-paystatus" class="control-label col-xs-12 col-sm-2">{:__('Paystatus')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="paystatusList" item="vo"}
            <label for="row[paystatus]-{$key}"><input id="row[paystatus]-{$key}" name="row[paystatus]" type="radio" value="{$key}" {in name="key" value="未缴费"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label for="c-studenttell" class="control-label col-xs-12 col-sm-2">{:__('Studenttell')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-studenttell" data-rule="required" class="form-control" name="row[studenttell]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-studentaddress" class="control-label col-xs-12 col-sm-2">{:__('Studentaddress')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-studentaddress" data-rule="required" class="form-control" name="row[studentaddress]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-studentschool" class="control-label col-xs-12 col-sm-2">{:__('Studentschool')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-studentschool" class="form-control" name="row[studentschool]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-parenttell" class="control-label col-xs-12 col-sm-2">{:__('Parenttell')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-parenttell" data-rule="required" class="form-control" name="row[parenttell]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-parentcompany" class="control-label col-xs-12 col-sm-2">{:__('Parentcompany')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-parentcompany" data-rule="required" class="form-control" name="row[parentcompany]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-followteacher" class="control-label col-xs-12 col-sm-2">{:__('Followteacher')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-followteacher" data-rule="required" class="form-control" name="row[followteacher]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-branch" class="control-label col-xs-12 col-sm-2">{:__('Branch')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-branch" class="form-control" name="row[branch]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="未分班"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label for="c-weigh" class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-createby" class="control-label col-xs-12 col-sm-2">{:__('Createby')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-createby" data-rule="required" class="form-control" name="row[createby]" type="text" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-updateby" class="control-label col-xs-12 col-sm-2">{:__('Updateby')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-updateby" data-rule="required" class="form-control" name="row[updateby]" type="text" value="0">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
